@import "../styles/variables";

.breadcrumb {
  font-size: $text-sm;
}

.department-header-card {
  background-color: $card-bg;
  border-radius: $radius-lg;
  box-shadow: $shadow-sm;
  padding: $spacing-6;
}

.department-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  @media (max-width: $breakpoint-md) {
    flex-direction: column;
    gap: $spacing-4;
  }
}

.department-info {
  flex: 1;
}

.department-title-container {
  display: flex;
  align-items: center;
  gap: $spacing-3;
  margin-bottom: $spacing-3;
}

.department-icon {
  flex-shrink: 0;
}

.department-title {
  font-weight: $font-semibold;
}

.department-meta {
  display: flex;
  align-items: center;
  gap: $spacing-3;
  margin-bottom: $spacing-3;
}

.department-count {
  font-size: $text-sm;
  color: $text-secondary;
}

.department-description {
  font-size: $text-sm;
  display: block;
}

.projects-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-weight: $font-medium;
}

.empty-container {
  background-color: $card-bg;
  border-radius: $radius-lg;
  box-shadow: $shadow-sm;
  padding: $spacing-8;
  text-align: center;
}

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.project-card {
  height: 100%;
  padding: $spacing-4;
  cursor: pointer;

  &:hover {
    transform: translateY(-2px);
  }
}

.project-card-header {
  display: flex;
  gap: $spacing-3;
  margin-bottom: $spacing-3;
}

.project-icon {
  flex-shrink: 0;
}

.project-card-info {
  flex: 1;
  min-width: 0;
}

.project-title {
  font-size: $text-base;
  font-weight: $font-medium;
  margin-bottom: $spacing-2;
  color: $text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: $spacing-2;
}

.project-description {
  font-size: $text-sm;
  color: $text-secondary;
  margin-bottom: $spacing-3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: $spacing-3;
  border-top: 1px solid $border;
}

.project-date {
  font-size: $text-xs;
  color: $text-tertiary;
}
